FlexReport for WPF
TryGetValue メソッド (C1KeyedList<TKey,TItem>)


C1.WPF.Document アセンブリ > C1.WPF.Document 名前空間 > C1KeyedList<TKey,TItem> クラス : TryGetValue メソッド
指定されたキー。
ドキュメントのページ。
指定したキーでページを取得します。
シンタックス
'宣言
 
Public Function TryGetValue( _
   ByVal key As TKey, _
   ByRef item As TItem _
) As System.Boolean
'使用法
 
Dim instance As C1KeyedList(Of TKey,TItem)
Dim key As TKey
Dim item As TItem
Dim value As System.Boolean
 
value = instance.TryGetValue(key, item)
public System.bool TryGetValue( 
   TKey key,
   out TItem item
)

パラメータ

key
指定されたキー。
item
ドキュメントのページ。

戻り値の型

項目が C1KeyedList<TKey,TItem> で見つかった場合は true、それ以外の場合は false。
参照

C1KeyedList<TKey,TItem> クラス
C1KeyedList<TKey,TItem> メンバ